<label style="margin-bottom:0;" for="">奖扣时间<input class="timepicker" name="s_time" value="{:input('get.s_time')}" placeholder="开始时间"
    style="margin: 0px 5px;padding-left: 3px;border: 1px solid #ccc;height: 34px;border-radius: 3px;width:140px;"
    AUTOCOMPLETE="off">　--　<input class="timepicker" name="e_time" value="{:input('get.e_time')}" placeholder="结束时间"
    style="margin: 0px 5px;padding-left: 3px;border: 1px solid #ccc;height:34px;border-radius: 3px;width:140px;" AUTOCOMPLETE="off"></label>
    

<label style="margin-bottom:0;" for="">记录时间<input class="timepicker" name="s_time_record" value="{:input('get.s_time_record')}" placeholder="开始时间"
    style="margin: 0px 5px;padding-left: 3px;border: 1px solid #ccc;height: 34px;border-radius: 3px;width:140px;"
    AUTOCOMPLETE="off">　--　<input class="timepicker" name="e_time_record" value="{:input('get.e_time_record')}" placeholder="结束时间"
    style="margin: 0px 5px;padding-left: 3px;border: 1px solid #ccc;height: 34px;border-radius: 3px;width:140px;"
    AUTOCOMPLETE="off"></label>


<script type="text/javascript">
    $(function(){
        var now = new Date();
        var currentYear=now.getFullYear();
        var startDate = new Date(currentYear,0,1);
        var endDate = new Date(currentYear+1,0,1);
        $('.timepicker').datetimepicker({
            format: "{$timepickerFormat | default='YYYY-MM-DD HH:mm:ss'}",   //YYYY-MM-DD HH:mm:ss
            locale: moment.locale('zh-cn'),
            // minDate:startDate,
            maxDate : endDate
        });
    })
</script>
